<template>
    <view class="box">
        <button class="btn" @click="start">开始直播</button>
        <button class="btn2" @click="visit">观看直播</button>
    </view>
</template>


<script>
    export default {
        data() {
			return {
				context:null
			}
        },
	  mounted() {
	  },
        methods: {
		start(){
			uni.navigateTo({
				url:"/pageA/speed/speed"
			})
		},
		visit(){
			uni.navigateTo({
				url:"/pageA/clientVideo/clientVideo"
			})
		}
        }
    }
</script>
<style lang="scss" scoped>
	.box{
		height: 100vh;
		display: flex;
		justify-content: center;
		align-items: center;
		.btn{
			width: 220rpx;
			background-color: red;
		}
		.btn2{
			width: 220rpx;
			background-color: green;
		}
	}
</style>
